<?xml version="1.0" encoding="UTF-8"?>
<xhtml xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ev="http://www.w3.org/2001/xml-events" 
    xmlns:xf="http://www.w3.org/2002/xforms">
    <head>
        
        <style type="text/css">
            h1 {font-size: 12pt }
            xf|input.itemClass { width:100px }
            xf|input.custNumClass { width:100px }
            xf|input.dateClass { width:80px }
        </style>
        <title>Order Books</title>
        
        <xf:model id="model1">
            
            <xf:instance>
                <review xmlns="">
                    <author/>
                    <title/>
                    <price/>
                    <total/>
                </review>
            </xf:instance>
            
            <xf:submission id="s01" method="put"
                action="reviews.xml" /> 
            
            <xf:submission id="s02" method="post"
                action="http://xformstest.org/cgi-bin/showinstance.sh" /> 
        </xf:model>
    </head>
    
    <body>
        
        <h1>Order the Books</h1>
        <p>Enter below.</p>
        
        <xf:input model="model1" ref="author">
            <xf:label>Author name</xf:label>
        </xf:input>
        
        <xf:input model="model1" ref="title">
            <xf:label>Title</xf:label>
        </xf:input>
        
        <xf:input model="model1" ref="price">
            <xf:label>Price</xf:label>
        </xf:input>
        
        <xf:input model="model1" ref="total">
            <xf:label>Total</xf:label>
        </xf:input>
       
        <br />
        
        <xf:submit submission="s01">
            <xf:label>Save</xf:label>
        </xf:submit>
        
        <p>Click "Save" to store entered order.</p>
        
    </body>
</xhtml>
